<?php
include("dictapp.php");
?>
<table width="100%" >
  <tr>
    <td colspan="2">
    <?php viewPackage()?>
    </td>
  </tr>
  <tr>
    <td rowspan="2" valign="top">
    <form action="" method="get">
    <input type="hidden" name="packageid" value="<?php echo $_SESSION["packageid"] ?>" />
    <input type="hidden" name="lang" value="<?php echo $_SESSION["lang"] ?>" />
    <input type="hidden" name="contents" value="<?php echo $_SESSION["contents"] ?>" />

    
<p>    <input type="text" name="kw" value="<?php echo $_SESSION["kw"]?>"/><input type="submit" value="Go!"/></p>
    </form>
    <div class="itemcontainer">
    <?php viewKWList();?>
    </div>
    </td>
    <td valign="top">
    <div class="menucontent" ><a href="?mode=view&contents=<?php echo $_GET["contents"]?>&lang=<?php echo $_GET["lang"]?>">View only</a> </div>
    <div class="menucontent" ><a href="?mode=mod&contents=<?php echo $_GET["contents"]?>&lang=<?php echo $_SESS["lang"]?>">Show edit</a> </div>
    </td>
  </tr>
  <tr>
    <td>
	<div class="itemresults">
	<?php viewResult(); ?>
    </div>
</td>
  </tr>
</table>    